package com.example.administrator.newjiajiesong;

import android.app.Application;
import android.content.Context;

import com.example.administrator.newjiajiesong.utils.checkVersionsUtils.ProfileSpUtils;

/**
 * Created by: xudiwei
 * <p>
 * on: 2017/3/13.
 * <p>
 * 描述：Base Application
 * 123
 */

public class BaseApplication extends Application {

    private static Context mContext;



    private String str;


    public static Context getContext() {
        return mContext;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = this;
        //用户资料存储工具
        ProfileSpUtils.init(this);

    }

    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);

    }

    public String getStr() {
        return str;
    }

    public void setStr(String str) {
        this.str = str;
    }
}
